package top.kaoshanji.p1ch01a;

/**
 * 代码清单-p1ch01a-7页a：勇敢骑士
 * @author kaoshanji
 * ^_^
 * create time 2025/4/21 22:26
 */
public class BraveKnight implements Knight {

    private Quest quest;

    public BraveKnight(Quest quest) {
        this.quest = quest;
    }

    @Override
    public void embarkOnQuest() {
        quest.embark();
    }

}
